package com.baizhi.service;

import com.baizhi.entity.Record;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author longyang
 * @since 2022-01-11
 */
public interface IRecordService extends IService<Record> {
    //查询全部奖惩信息
    PageInfo<Record> selectAllRecord(int pageNum, int pageSize);
    //修改奖惩信息
    Integer updateRecord(Record record);
    //删除奖惩信息
    Integer deleteRecord(Integer rid);
    //添加奖惩信息
    Integer addRecord(Record record);
    //根据奖惩名称模糊查询
    List<Record> selcetByRname(String Rname);
}
